<?php

 
$verifyurl = $_GET['aaa'];
if(empty($verifyurl) ){
 
    return "该网站未授权！请联系QQ：274340311@qq.com"; //授权失败

 
}else{
	return true;
}

die();
//获取不带端口号的域名前缀
 
$servername = trim($_SERVER['SERVER_NAME']);
 
//获取服务端授权文件校验
 
$verifyurl = file_get_contents('http://new.com/PHP/check.php?domain='.$servername);
 
if(!empty($verifyurl)){
 
echo "已授权！"; //授权成功
 
}else{
 
die("未授权！"); //授权失败
 
}
 
